package com.itheima.stock.service;

import com.itheima.stock.vo.LoginReqVo;
import com.itheima.stock.vo.LoginRespVo;
import com.itheima.stock.vo.R;
import com.itheima.stock.vo.UserRespVo;

import java.util.Map;

public interface UserService {
    /**
     * 用户登录功能实现
     * @param vo
     * @return
     */
    R<LoginRespVo> login(LoginReqVo vo);

    R<Map> generateCaptcha();

    R<UserRespVo> selUserById(Long id);
}
